package day2;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Liuji {
    public static void main(String[] args) {
        //判断两门课是否合格了
        //判断成绩是否及格
        Scanner in=new Scanner(System.in);

        System.out.print("请输入数学成绩：");
        int s=in.nextInt();
        System.out.printf("请输入语文成绩：");
        int m=in.nextInt();
        boolean jige=(s>=60) && (m>=60);
        System.out.println("及格了？"+jige);
    }

}
